package com.imooc.bo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class VlogBo {

    private String id;

    @NotBlank(message = "用户不存在")
    private String vlogerId;


    private String url;

    private String cover;
    @NotBlank(message = "标题不能为空")
    private String title;

    private Integer width;

    private Integer height;

    private Integer likeCounts;

    private Integer commentsCounts;

    private Integer isPrivate;

    private Date createdTime;

    private Date updatedTime;


}